package Stack;

public class Test {
    public static void main(String[] args) {
        MyStack mystack=new MyStack();
        mystack.push(1);
        mystack.push(2);
        mystack.push(3);
        mystack.push(4);
        System.out.println(mystack.pop());
        System.out.println(mystack.peek());
        System.out.println(mystack.peek());
    }
}
